package com.ruoyi.system.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class MenuAddVo {

    @ApiModelProperty(value = "菜单ID，新增同级菜单、修改菜单时必填")
    private Long menuId;

    @ApiModelProperty(value = "父菜单ID，新增下级菜单")
    private Long parentId;

    @ApiModelProperty(value = "菜单名称", required = true)
    private String name;

    @ApiModelProperty(value = "显示顺序")
    private Integer orderNum;

    @ApiModelProperty(value = "路由地址")
    private String path;

    @ApiModelProperty(value = "组件路径")
    private String component;

    @ApiModelProperty(value = "路由参数")
    private String query;

    @ApiModelProperty(value = "是否为外链(0是 1否)")
    private Integer isFrame;

    @ApiModelProperty(value = "是否缓存(0缓存 1不缓存)")
    private String isCache;

    @ApiModelProperty(value = "菜单类型(M目录 C菜单 F按钮)")
    private String menuType;

    @ApiModelProperty(value = "菜单显示状态(0显示 1隐藏)")
    private String visible;

    @ApiModelProperty(value = "菜单状态(0正常 1停用)")
    private String status;

    @ApiModelProperty(value = "权限标识")
    private String perms;

    @ApiModelProperty(value = "菜单图标")
    private String icon;

    /*@ApiModelProperty(value =  "权限拦截方法")
    private String access;*/
}
